LicenseManagerForWooCommerce\Api\Authentication S

Total Complexity 44
Dependencies 3
Dependents 1
Total lines 338
Lines of code 176
Logical lines of code 82
Comment lines 98
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
checkPermissions()
A
48 12 36
performBasicAuthentication()
A
45 10 45
authenticate()
S
54 6 22
checkUserPermissions()
S
60 4 14
sendUnauthorizedHeaders()
S
66 3 7
isRequestToRestApi()
S
66 2 8
checkAuthenticationError()
S
72 2 6
getUserDataByConsumerKey()
S
60 1 15
__construct()
S
69 1 6
setError()
S
77 1 4
getError()
S
82 1 3
updateLastAccess()
S
64 1 10